#ifndef VIEWPANEL_H
#define VIEWPANEL_H

#include <QWidget>
#include <vector>
#include <map>
using namespace std;
class GLPanel;
#include "mesh.h"
#include "glpanel.h"


namespace Ui {
    class ViewPanel;
}

class ViewPanel : public QWidget
{
    Q_OBJECT

public:
    explicit ViewPanel(QWidget *parent = 0);
    ~ViewPanel();
    void viewMesh( Mesh* _mesh );
    void viewMesh_vp( map<int,vector<double> > n, map<int,vector<int> > e, double valormax, double valormin, map<int ,double > m, vector<vector<double> > p );

private:
    Ui::ViewPanel *ui;
    GLPanel* c;
};

#endif // VIEWPANEL_H
